package com.black.app.domain.req.exercise.edit;

import com.black.app.domain.req.exercise.add.AppExerciseGroupAddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "AppExerciseGroupEditReq", description = "修改锻炼动作组请求参数")
@Data
public class AppExerciseGroupEditReq extends AppExerciseGroupAddReq {

    @ApiModelProperty(value = "动作组id")
    @NotNull(message = "{exercisegroup.not.id}")
    private Long groupId;

    @ApiModelProperty(value = "分组组号")
    private Integer groupNum;
}
